<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>
    病案管理
  </title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <link rel="stylesheet" href="../css/x-admin.css" media="all">
  <link rel="stylesheet" href="../css/pag.css" media="all">
</head>
<body>
<div class="x-nav"> <span class="layui-breadcrumb"> <a><cite>首页</cite></a> <a><cite>档案管理</cite></a> </span> <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"  href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon" style="line-height:30px">ဂ</i></a> </div>
<div class="x-body">
    <form class="layui-form x-center" action="${pageContext.request.contextPath}/menzhen/chufang" style="width:500px">
        <div class="layui-form-pane">
            <div class="layui-form-item">
                <div class="layui-input-inline" style="width:400px">
                    <input type="text" name="name"  placeholder="请输入就诊卡号" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-input-inline" style="width:80px">
                    <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
                </div>
            </div>
        </div>
    </form>
    <div class="tools">
    <ul class="toolbar">
        <li onclick="download_picadd('查看病历详情','/menzhen/jiancha?uId=${uId}&yiName=${yiName}','1000','500')"><span><img src="../images/t01.png" /></span>添加</li>
        <li onclick="download_picadd('查看病历详情','/jsp/binglixiangqing.jsp','1000','500')"><span><img src="../images/t07.png" /></span>查看</li>
    </ul>
    <span class="x-right" style="line-height:25px">共有数据：88 条</span></xblock>
    </div>
    <table class="tablelist">
        <thead>
        <tr>
            <th> <input onclick="selectAll()" type="checkbox"   name="controlAll" style="" id="controlAll">
            </th>
            <th>姓名</th>
            <th> 年龄 </th>
            <th> 医嘱 </th>
            <th> 状态 </th>
            <th> 签名医生</th>
            <th> 诊断时间 </th>
            <th> 操作 </th>
        </tr>
        </thead>
        <tbody>

        <c:forEach items="${fomularyList}" var="fomulary" varStatus="row">
            <tr>
                <td><input type="checkbox" value="${fomulary.id}" name="selected"></td>
                <td>${fomulary.yiName}</td>
                <td>${fomulary.yiDate}</td>
                <td > ${fomulary.yiZhu} </td>
                <td > ${fomulary.status} </td>
                <td > ${fomulary.yiQianMing}</td>
                <td>
                    <fmt:formatDate value="${fomulary.yiZhiXingTime}" pattern="yyyy-MM-dd"/>
                </td><!--/jsp/binglixiangqing.jsp-->
                <td><a onclick="download_picadd('查看病历详情','/menzhen/binli?fId=${fomulary.id}','1100','500')"><button class="sp">查看详情</button></a></td>
            </tr>
        </c:forEach>

        </tbody>
    </table>
    <div class="page"  v-show="show">
        <div class="pagelist"> <span class="jump">上一页</span> <span class="jump">1</span> <span class="jump">2</span> <span class="jump">3</span> <span class="jump">4</span> <span class="jump">5</span> <span class="jump">6</span> <span class="ellipsis">...</span> <span class="jump">下一页</span> <span class="jumppoint">跳转到：</span> <span class="jumpinp">
    <input type="text">
    </span> <span class="jump gobtn">GO</span> </div>
    </div>
</div>
</body>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
<script src="../js/x-layui.js" charset="utf-8"></script>

<script src="../js/jquery2.js" charset="utf-8"></script>
<script src="../js/js.js" charset="utf-8"></script>
<script>
    layui.use(['laydate','element','laypage','layer'], function(){
        $ = layui.jquery;//jquery
        laydate = layui.laydate;//日期插件
        lement = layui.element;//面包导航
        laypage = layui.laypage;//分页
        layer = layui.layer;//弹出层
    });


    /*图片添加*/
    function download_picadd(title,url,w,h){
        x_admin_show(title,url,w,h);
    }
    /*书籍添加*/
    function download_bookadd(title,url,w,h){
        x_admin_show(title,url,w,h);
    }
    /*视频添加*/
    function download_voidadd(title,url,w,h){
        x_admin_show(title,url,w,h);
    }
    //图片修改
    function download_picedit (title,url,id,w,h) {
        x_admin_show(title,url,w,h);
    }
    //书籍修改
    function download_bookedit (title,url,id,w,h) {
        x_admin_show(title,url,w,h);
    }
    //视频修改
    function download_voidedit (title,url,id,w,h) {
        x_admin_show(title,url,w,h);
    }


    $('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>
</html>